<?= $this->extend('layout') ?>
<?= $this->section('content') ?>

<div class ="flex2">
	<div class="content">




<h11>Product  List </h11>
<br><br><br>
<h11>Note caution ! you are looking at list of products to edit. Click on any link to edit that product</h11>

<?php

foreach($products as $prod)
{





 echo " <div class =\"item\"> <img class =\"img-fluid\" src =".base_url('productImages')."/".$prod['image']."> <p><a href = editOneProduct/" . $prod['Id'] .  "> <h3> Link: " .$prod['slug']."</h3></a>   category:  ".$prod['category']."<br><br></div>";  

}




?>




</div>
</div>
<?= $this->endSection() ?>
